#!/bin/bash

uploadsh=/opt/data/proj/dev/ConfigDemo/tools/bchat.sh

pon="on"

pidof snakyserver &> /dev/null
if [ $? -gt 0 ]; then
    pon="off"
fi

pidof run.sh jkstatus jkimgproc jkws &> /tmp/jk.log

$uploadsh SystemInfo "`df -h`\n\n`uname -a`\n\nsnaky is $pon\n\njkstatus: `cat /tmp/jk.log`"
